public class Duckdrive{
	public static void main(String arg[]){
	Duck d = new mallardduck();
	Turkey t = new wildturky();
	Duck adapterturkey = new TurkeyAdapter(t);
	System.out.println("Turkey say");
	t.gobble();
	t.fly();
	System.out.println("Duck say");
	testduck(d);
	System.out.println("Turkey adapter say");
	testduck(adapterturkey);

	}
	public static void testduck(Duck d){
		d.quak();
		d.fly();
	}

}
